package frame.networks.viewers.viewer;

import model.components.nodes.node.Node;

import org.apache.commons.collections15.Transformer;

public class NodeLabelTransformer implements Transformer< Node, String >
{
	@Override
	public String transform( Node node )
	{
		if( node.isSelected() )
			return node.getName();
		else
			return "";
	}

}
